<!DOCTYPE html>
<style>
  td { border: 2px solid blue; }
</style>
<table style="width: 200px; height: 200px; border-collapse: collapse">
  <tbody style="background: red">
    <tr id="row" style="background: pink; visibility: hidden">
      <td style="visibility: visible"></td>
      <td></td>
    </tr>
  </tbody>
</table>
<script src="../resources/text-based-repaint.js"></script>
<script>
function repaintTest() {
  row.style.background = 'green';
}
onload = runRepaintAndPixelTest;
</script>

